const api: ApiConfig = {
  // 批次下拉
  getPullMenusOption: {
    method: 'GET',
    url: 'collection/reservation/collectingItems/getPullMenus'
  },
  // 典藏初编分页
  collectingItemsList: {
    method: 'GET',
    url: 'collection/reservation/collectingItems/list'
  },
  // 编目审核选择字段导出
  exportCatalogSelectContent: {
    method: 'POST',
    url: '/collection/collection/collectItemCatalogInfo/exportCatalogSelectContent',
    responseType: 'blob',
    headers: {
      request: 'hzgjbbg' // 正式405通行规则
    }
  },
  // 藏品编目分页
  qureyMakeMenuTableDataList: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/findPage'
  },
  // 藏品批次的子级页面藏品列表信息查询(批次信息)
  qureyBatchCollectInfo: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/batch_collect_info/:batchCode'
  },
  // 藏品批次的子级页面藏品列表信息查询（批次下的分页信息）
  qureyBatchCollectTableDataList: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/find_collection_info_page'
  },
  // 领取
  receiveUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/receive',
    headers: {
      'Content-Type': 'application/json'
    },
  },
  // 批量领取
  batchReceiveUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/batch_receive',
    headers: {
      'Content-Type': 'application/json'
    },
  },
  // 批量提交审核
  batchReviewUpdate: {
    method: 'POST',
    url: '/collection/collection/collectItemsAssess/batch_review',
    headers: {
      'Content-Type': 'application/json'
    },
  },
  

  // 无需编目
  noNeedCatalogUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/no_need_catalog'
  },
  // 批次信息(公共查询用)
  commonBatchInfo: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/common_batch_info/:batchCode'
  },
  // 物品信息(公共查询用)
  commonGoodsInfo: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/common_goods_info/:subItemCode'
  },
  // 藏品编目-编目列表-添加
  addCatalogInfoUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/add_catalog_info'
  },
  // 保存编目信息
  saveCatalogInfoUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/saveCatalogInfo'
  },
  // json信息(公共查询用:本地使用块、标识块等)
  commonJsonInfo: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/common_json_info/:subItemCode'
  },
  // /collection/reservation/collectingItems/batch_collect_info/
  //  字典下拉
  listByParentCode: {
    method: 'GET',
    url: '/sys/dic/listByParentCode'
  },
  listByParentCodeOfOrder: {
    method: 'GET',
    url: '/sys/dic/listByParentCodeOfOrder'
  },
  // 入库位置全量下拉
  baseStoreroomConfigListAll: {
    method: 'GET',
    url: '/collection/baseStoreroomConfig/listAll'
  },
  // /sys/dic/listByParentCode
  // update: {
  //   method: 'POST',
  //   url: '/drainage/commonGisPoint/update'
  // },
  // 详情入库信息
  collectingItemsInfo: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/info/:id'
  },
  // 入库位置下拉
  listOptionsByParentId: {
    method: 'GET',
    url: '/collection/baseStoreroomConfig/listOptionsByParentId'
  },
   // 入库位置下拉-添加层级
   listOptionsAndLevelByParentId: {
    method: 'GET',
    url: '/collection/baseStoreroomConfig/listOptionsAndLevelByParentId'
  },
  // 保存藏品入库信息表;信息
  collectingItemsStagingUpdate: {
    method: 'POST',
    url: '/collection/collection/collectingItemsStaging/update'
  },
   // 保存藏品入库信息表;信息
   updateStorage: {
    method: 'POST',
    url: 'collection/collection/collectingItemsStaging/updateStorage'
  },
  // 批量入库导入
  collectItemStorageImportFile: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/collectItemStorage/importFileOpt',
    headers: {
      'content-type': 'multipart/form-data'
    }
  },
  
  // 批量导入确认
  collectingItemsStagingbatchUpdate: {
    method: 'POST',
    url: 'collection/collection/collectingItemsStaging/batchUpdate'
  },
  // 点击退回
  collectingItemsClickBack: {
    method: 'POST',
    url: 'collection/reservation/collectingItems/clickBack'
  },
  // 藏品工单管理·提交工单
  collectingOrderCommitOrder: {
    method: 'POST',
    url: '/collection/collectingOrder/commitOrder'
  },
  // 藏品工单管理·分页列表
  collectingOrderlistPageList: {
    method: 'GET',
    url: '/collection/collectingOrder/listPage'
  },
  // 藏品 · 导入藏品信息
  importCollectingItems: {
    method: 'POST',
    url: '/collection/collectingOrder/importCollectingItems',
    headers: {
      'content-type': 'multipart/form-data'
    }
  },
  // 藏品 · 下载模版
  downloadTemplate: {
    method: 'GET',
    url: '/collection/collectingOrder/downloadTemplate',
    responseType: 'blob'
  },
  // 藏品信息状态表列表导出
  exportCollectingItems: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/exportCollectingItems',
    responseType: 'blob'
  },
  // 藏品 · 下载模版
  downloadTemplateStaging: {
    method: 'GET',
    url: 'collection/collection/collectingItemsStaging/downloadTemplate',
    responseType: 'blob'
  },
  // 藏品 · 下载模版//编目审核
  downloadFirstCatalogTemplate: {
    method: 'GET',
    url: 'collection/collection/collectingItemsStaging/downloadFirstCatalogTemplate',
    responseType: 'blob'
  },
  // 藏品工单管理·工单基础信息详情
  orderBaseInfo: {
    method: 'GET',
    url: '/collection/collectingOrder/orderBaseInfo'
  },
  // /collection/reservation/collectingItems/edit_echo/
  // 藏品管理-编辑保存按钮
  editEchoBySubItemCode: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/edit_echo'
  },
   // 获取藏品生命周期信息
   moveInfoTimeLine: {
    method: 'GET',
    url: '/collection/collection/collectMove/moveInfo/:subItemCode'
  },
   // 藏品工单详情-藏品列表
   listItemsPage: {
    method: 'GET',
    url: '/collection/collectingOrder/listItemsPage'
  },
  // 藏品 · 搜索
  listCollecting: {
    method: 'GET',
    url: '/collection/collectingOrder/listCollecting'
  },
  // 藏品 · 分类统计
  countCollectingByType: {
    method: 'GET',
    url: '/collection/collectingOrder/countCollectingByType'
  },
  // 藏品工单管理·删除工单,主键ID必传
  deleteOrder: {
    method: 'POST',
    url: '/collection/collectingOrder/deleteOrder'
  },
  // 获取流程
  getWorkFlow: {
    method: 'GET',
    url: '/collection/collectingOrder/getWorkFlow'
  },
  getOrderWorkFlow: {
    method: 'POST',
    url: '/collection/collectingOrder/getOrderWorkFlow'
  },
  checkImportantTag: {
    method: 'GET',
    url: '/collection/collectingOrder/checkImportantTag'
  },
  
  // 获取初编编辑的Json信息
  catalogInfoByCode: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/catalogInfo/:subItemCode'
  },
  // 保存新的藏品初编编辑
  saveFirstCatalogInfo: {
    method: 'POST',
    url: '/collection/collection/collectingItemsStaging/saveFirstCatalogInfo'
  },
  // 藏品信息状态表分页列表
  collectingItemslist: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/list'
  },
  // 工单-保存信息
  collectingItemUserOrderTemporarySave: {
    method: 'POST',
    url: '/collection/collection/collectingItemUserOrderTemporary/batchSave'
  },
  // 藏品编目的详情
  catalogInfo: {
    method: 'GET',
    url: 'collection/reservation/collectingItems/catalogInfo/:subItemCode'
  },
  // 编目审核的详情
  infoAuditRecord: {
    method: 'GET',
    url: 'collection/reservation/collectingItems/infoAuditRecord/:subItemCode'
  },
   // 终审流程
   infoFinalAuditRecord: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/infoFinalAuditRecord/:subItemCode'
  },
  // 详情
  info: {
    method: 'GET',
    url: '/collection/clueCollectingItems/infoByItemCode/:itemCode'
  },
  // 藏品审核-提交初审
  collectItemsAssessSubAudit: {
    method: 'GET',
    url: '/collection/collection/collectItemsAssess/subAudit'
  },
  // 获取套组下拉
  getPullMenusCollectSet: {
    method: 'GET',
    url: '/collection/collection/collectSet/getPullMenus'
  },
  // 保存套组信息
  collectSetSave: {
    method: 'POST',
    url: '/collection/collection/collectSet/save'
  },
  // 保存编目信息
  collectingItemsSaveCatalogInfo: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/saveCatalogInfo'
  },
  // 终审退回
  collectItemsAssessfinalAuditBack: {
    method: 'POST',
    url: '/collection/collection/collectItemsAssess/finalAuditBack'
  },
  // 加入工单 -- 删除
  collectingItemUserOrderTemporaryDelete: {
    method: 'POST',
    url: 'collection/collection/collectingItemUserOrderTemporary/delete'
  },
  // 藏品管理-申请工单-模版导入
  importCollectingItemsOfOrder: {
    method: 'POST',
    url: '/collection/collectingOrder/importCollectingItemsOfOrderOpt',
    // responseType: 'blob',
    headers: {
      'content-type': 'multipart/form-data'
    }
  },
  // 藏品管理-申请工单-模版下载
  downloadTemplateOfOrder: {
    method: 'GET',
    url: '/collection/collectingOrder/downloadTemplateOfOrder',
    responseType: 'blob'
  },
  updateRelocationLocation: {
    method: 'POST',
    url: '/collection/collectingOrder/updateRelocationLocation'
  },
  // 藏品管理-标签配置
  tagUpdate: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/tag_update'
  },
  // 藏品入库信息表 - 分页列表
  userOrderCollectItem: {
    method: 'GET',
    url: '/collection/collection/collectingItemUserOrderTemporary/userOrderCollectItem'
  },
  // 清空工单
  batchDelete: {
    method: 'POST',
    url: '/collection/collection/collectingItemUserOrderTemporary/batchDelete'
  },
  // 获取典藏信息-列表
  getCatalogInfo: {
    method: 'GET',
    url: '/collection/collection/collectItemCatalogInfo/getCatalogInfo'
  },
  //  获取套编数据
  getAssetCodeDetailInfo: {
    method: 'GET',
    url: '/collection/collection/collectItemCatalogInfo/getAssetCodeDetailInfo'
  },
  // 藏品入库信息表;分页列表
  getListByItemSetId: {
    method: 'GET',
    url: '/collection/collection/collectingItemsStaging/getListByItemSetId/:itemSetId/:subItemCode'
  },
  // 藏品分类·下拉框所有数据
  listTreeAll: {
    method: 'GET',
    url: '/collection/baseCollectClassificationConfig/listTreeAll'
  },
  // 编目关联或跳过关联信息查询接口
  skipAssociation: {
    method: 'POST',
    url: '/collection/reservation/collectingItems/skip_association'
  },
  relationPage: {
    method: 'GET',
    url: '/collection/reservation/collectingItems/relation_page'
  },
  // 
  collectingItemsDelete: {
    method: 'POST',
    url: 'collection/reservation/collectingItems/delete_list'
  },
}

export default api
